package cn.wolfcode.luowowo.repository;


import cn.wolfcode.luowowo.domain.Destination;
import cn.wolfcode.luowowo.domain.Region;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户持久层接口
 */
@Repository
public interface DestinationRepository extends MongoRepository<Destination, String>{

    //通过id查询目的的对象
    List<Destination> findByIdIn(List<String> ids);
}
